package com.youlu.campus.admin.auth.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 租户实体类
 *
 * @author: tommy
 * @date: 2020/11/24 15:00
 */
@Data
@Document(collection = "tenant_info")
public class TenantInfo extends EntityBase {
    /**
     * 名字
     */
    private String name;
    /**
     * LOGO URL
     */
    private String logoUrl;
    /**
     * 描述
     */
    private String desc;
    /**
     * 租户编号
     */
    @Indexed(unique = true)
    private String no;
    /**
     * 描述
     */
    private String description;
    /**
     * 套餐包
     */
    private String tPackage;
    /**
     * 付费类型,0:免费,1:预付费,2:后付费
     */
    private Integer payType;
    /**
     * 域名
     */
    private String domain;
    /**
     * JDBC URL
     */
    private String jdbcUrl;
    /**
     * JDBC Password
     */
    private String jdbcPassword;
    /**
     * JDBC user
     */
    private String jdbcUser;

}
